package com.hkts.reportform.utils;

import com.google.gson.Gson;
import com.hkts.reportform.datastatics.entity.ReportForm;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

/**
 * @ClassNameGsonUtil
 * @Description
 * @Author yck
 * @Date2020-10-21 13:50
 * @Version V1.0
 **/
public class GsonUtil {
    public static List<ReportForm> conversionToReportForm(String listStr) {
        Gson gson=new Gson();
        List<ReportForm> from=new ArrayList<>();
        List list = gson.fromJson(listStr, List.class);
        return list;
    }
}
